<?php
	$i = 0;
	foreach ($results as $z1ttsv):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
    <td class="actions">
			<?php echo $this->Html->link(__('Sửa', true), array('controller'=>'sinhviens','action' => 'edit', $z1ttsv['Z1ttsv']['id'])); ?>
			
		</td>
		<td><?php echo $i; ?>&nbsp;</td>
		<td><?php echo $z1ttsv['Z1ttsv']['mssv']; ?>&nbsp;</td>
        <td><?php echo $z1ttsv['Z1ttsv']['hoten']; ?>&nbsp;</td>
       	<td><?php echo $z1ttsv['Z1ttsv']['phai']; ?>&nbsp;</td>
        <td>
			<?php echo $z1ttsv['Tongiao']['tentongiao']; ?>
		</td>
        <td>
            <?php echo $z1ttsv['Z1ttsv']['tentinhtp']; ?>&nbsp;
        </td>
        <td><?php echo $z1ttsv['Z1ttsv']['tenquanhuyen']; ?>&nbsp;</td>
        <td><?php echo $z1ttsv['Z1ttsv']['tenphuongxa']; ?>&nbsp;</td>
		<td><?php echo $z1ttsv['Z1ttsv']['ngaysinh']; ?>&nbsp;</td>
		<td><?php echo $z1ttsv['Z1ttsv']['noisinh']; ?>&nbsp;</td>
		<td><?php echo $z1ttsv['Z1ttsv']['diachi']; ?>&nbsp;</td>
		<td><?php echo $z1ttsv['Z1ttsv']['sodienthoai']; ?>&nbsp;</td>
		<td><?php echo $z1ttsv['Z1ttsv']['email']; ?>&nbsp;</td>
		<td>
			<?php echo $z1ttsv['Dantoc']['tendantoc']; ?>
		</td>
		<td><?php echo $z1ttsv['Z1ttsv']['ngayvaodoan']; ?>&nbsp;
            <?php echo $z1ttsv['Z1ttsv']['noivaodoan']; ?>&nbsp;
        </td>
		<td><?php echo $z1ttsv['Z1ttsv']['ngayvaodang']; ?>&nbsp;
            <?php echo $z1ttsv['Z1ttsv']['noivaodang']; ?>&nbsp;
        </td>
		<td><?php echo $z1ttsv['Z1ttsv']['truongthanhdoan']; ?>&nbsp;</td>
		<td><?php echo $z1ttsv['Z1ttsv']['created']; ?>&nbsp;</td>	
	</tr>
<?php endforeach; ?>